<!DOCTYPE html>
<html lang="en">

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
		<title>推荐</title>
		<link rel="stylesheet" href="css/base.css" />
		<link rel="stylesheet" href="css/iconfont.css" />
		<link rel="stylesheet" href="css/recommend.css" />
		<link rel="stylesheet" href="css/commodity-details.css" />
		<link rel="stylesheet" href="css/supermarket.css" />
		<link rel="stylesheet" href="css/all.css" />
	</head>

	<body>
		<div>
			<div class="heads">
				<span href="javascript:;" onclick="go()">
        <i class="iconfont icon-iconfontjiantou1"></i></span>
				<div class="detail">
					<a onclick="location.href='./commodity-details.html'">
						<span class="details-one">详情</span>
					</a>
					<span>推荐</span>
				</div>
			</div>
			<div class="middle-one">
				<!--<div onclick="location.href='./commodity-details.html'">
					<div class="commodity">
						<div class="commoditys">
							<img src="img/300377.png" alt="">
						</div>
						<div class="commo">
							<p class="commo-one">加拿大枫糖，枫叶国的餐桌美味。</p>
							<p class="commo-two">健脾补脾，益气活血，美容养颜。促进肠胃消化等功效 </p>
							<span>(</span><i class="money">1元</i><span>/100次)</span>
						</div>
					</div>
				</div>-->
			</div>
		</div>
		<script src="js/jquery.js"></script>
		<script src="js/x_rem.js"></script>
		<script src="js/all.js"></script>
		<script>
			(function() {
				var data = {

				};

				var success = (data) => {
					var html="";
					for(let i=0;i<data.message.length;i++){
						html+=`
							<div onclick="location.href='./commodity-details.html?browseTaskId=${data.message[i].browseTaskId}'">
								<div class="commodity">
									<div class="commoditys">
										<img src="${data.message[i].portrait}" alt="">
									</div>
									<div class="commo">
										<p class="commo-one">${data.message[i].title}</p>
										<p class="commo-two">健脾补脾，益气活血，美容养颜。促进肠胃消化等功效 </p>
										<span>(</span><i class="money">${data.message[i].oneMoney}元</i><span>/${data.message[i].envelopesNum}次)</span>
									</div>
								</div>
							</div>
						
						`
					}
					$(".middle-one").html(html);
				};

				Hajax("post", "/content/findContent1", data, success);

			})();
		</script>
	</body>

</html>